#ifndef TILE_HPP
#define TILE_HPP

#include <SFML/Graphics.hpp>

const sf::Vector2i TILE_SIZE(32,32);

enum TileType
{
	//Traversable Block
	BACKGROUND,
	//Indestructible Block
	UNBREAKABLE,
	//Breakable Block
	BREAKABLE
};

class Tile
{
	private:
		int type; //Block type
		sf::Sprite tileSprite; //Sprite tile

	public:
	//Constructor(s)
		Tile();

	//Getter(s)
		sf::Sprite& get_tileSprite();
		int get_type() const;

	//Setter(s)
		void set_type(int p_type);

	//Other(s)
		void initTile(sf::Vector2f p_position, sf::Image &p_img, int p_num);
		void clearSprite();

};

#endif